package com.rd.student.jiaji.class4.suyan.zrrd.day03;

public class Test01 {
    public static void main(String[] args) {
        int a=3;
        int b=2;
        a=a+b;//5
        b=a-b;//3
        a=a-b;//2
        System.out.println(b);//3
        System.out.println(a);//2
        System.out.println("-------");

        a=3;
        b=2;
        a=a^b;
        b=a^b;
        a=a^b;
        System.out.println(b);
        System.out.println(a);
    }
}
